package com.itqf.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Requestion {
    private Integer requestionid;

    private String requestionuserid;

    private String requestiontitle;

    private String answerquestions;

    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date requestiontime;

    private Integer reqPageview;

    private Integer reqCommentnum;

    private Integer reqLikenum;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    private User user;

    public Integer getRequestionid() {
        return requestionid;
    }

    public void setRequestionid(Integer requestionid) {
        this.requestionid = requestionid;
    }

    public String getRequestionuserid() {
        return requestionuserid;
    }

    public void setRequestionuserid(String requestionuserid) {
        this.requestionuserid = requestionuserid;
    }

    public String getRequestiontitle() {
        return requestiontitle;
    }

    public void setRequestiontitle(String requestiontitle) {
        this.requestiontitle = requestiontitle == null ? null : requestiontitle.trim();
    }

    public String getAnswerquestions() {
        return answerquestions;
    }

    public void setAnswerquestions(String answerquestions) {
        this.answerquestions = answerquestions == null ? null : answerquestions.trim();
    }

    public Date getRequestiontime() {
        return requestiontime;
    }

    public void setRequestiontime(Date requestiontime) {
        this.requestiontime = requestiontime;
    }

    public Integer getReqPageview() {
        return reqPageview;
    }

    public void setReqPageview(Integer reqPageview) {
        this.reqPageview = reqPageview;
    }

    public Integer getReqCommentnum() {
        return reqCommentnum;
    }

    public void setReqCommentnum(Integer reqCommentnum) {
        this.reqCommentnum = reqCommentnum;
    }

    public Integer getReqLikenum() {
        return reqLikenum;
    }

    public void setReqLikenum(Integer reqLikenum) {
        this.reqLikenum = reqLikenum;
    }
}